package de.szut.events;

import java.util.EventObject;
import java.util.Vector;

/**
 * Implementation of Vector to hold events.
 * @author Marc Huisinga
 *
 * @param <T> - Type of the event
 */
public class EventVector<T extends Event> extends Vector<T> implements FireableCollection {

	private static final long serialVersionUID = -5137382694227948779L;

	@Override
	public void fireAll(EventObject e) {
		new EventCannoneer<EventVector<T>>(this).fire(e);
	}

}
